package bean;

public class OrderDetail {
	private int orderDetailid;
	private int orderid;
	private int goodsid;
	private int num;
	private double price;
	private double cost;
	private double subtotal;
	private int status;
	public OrderDetail() {}
	public OrderDetail(int orderDetailid, int orderid, int goodsid, int num, double price, double cost, double subtotal,
			int status) {
		super();
		this.orderDetailid = orderDetailid;
		this.orderid = orderid;
		this.goodsid = goodsid;
		this.num = num;
		this.price = price;
		this.cost = cost;
		this.subtotal = subtotal;
		this.status = status;
	}
	public int getOrderDetailid() {
		return orderDetailid;
	}
	public void setOrderDetailid(int orderDetailid) {
		this.orderDetailid = orderDetailid;
	}
	public int getOrderid() {
		return orderid;
	}
	public void setOrderid(int orderid) {
		this.orderid = orderid;
	}
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getCost() {
		return cost;
	}
	public void setCost(double cost) {
		this.cost = cost;
	}
	public double getSubtotal() {
		return subtotal;
	}
	public void setSubtotal(double subtotal) {
		this.subtotal = subtotal;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
}
